import 'package:flutter/material.dart';
//import 'package:quan_ni_dev/pages/testPage/ji_guang.dart';
//import 'package:quan_ni_dev/pages/testPage/test_is_run.dart';
//import 'package:quan_ni_dev/pages/testPage/video_page.dart';

import 'package:qaun_ni_dev/pages/testPage/ji_guang.dart';
import 'package:qaun_ni_dev/pages/testPage/providerSelect.dart';
import 'package:qaun_ni_dev/pages/testPage/test_is_run.dart';
import 'package:qaun_ni_dev/pages/testPage/video_page.dart';
import 'package:qaun_ni_dev/provider/temp_provider.dart';

class OtherPage extends StatefulWidget {
  @override
  _OtherPage createState() => _OtherPage();
}

class _OtherPage extends State<OtherPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('其他内容管理'),
          centerTitle: false,
        ),
        body: Container(
          child: ListView(
            children: <Widget>[
              Container(
                decoration: BoxDecoration(
                    border: Border(
                        bottom: BorderSide(width: 1, color: Colors.grey))),
                child: ListTile(
                  title: Text('属性管理'),
                  onTap: () {
                    Navigator.pushNamed(context, '/attributePage');
                  },
                  leading: Icon(Icons.edit_attributes),
                  trailing: Icon(Icons.keyboard_arrow_right),
                ),
              ),
              Container(
                decoration: BoxDecoration(
                    border: Border(
                        bottom: BorderSide(width: 1, color: Colors.grey))),
                child: ListTile(
                  title: Text('礼物管理'),
                  onTap: () {
                    Navigator.pushNamed(context, '/giftPage');
                  },
                  leading: Icon(Icons.card_giftcard),
                  trailing: Icon(Icons.keyboard_arrow_right),
                ),
              ),
            ],
          ),
        ));
  }
}
